import request from '@/utils/request'

// 人才签约列表
export function fetchSignList(data) {
	return request({
		url: '/talentsFootUp/signList',
		method: 'POST',
		data: data
	})
}

// 结算通道列表
export function fetchtlementChannel(data) {
	return request({
		url: '/settlementChannel/getList',
		method: 'POST',
		data: data
	})
}

// 结算通道列表
export function getListCommon(data) {
	return request({
		url: '/settlementChannel/getListCommon',
		method: 'POST',
		data: data
	})
}

// 结算通道详情
export function fetchtlementInfo(data) {
	return request({
		url: '/settlementChannel/getInfo',
		method: 'POST',
		data: data
	})
}

// 结算通道修改
export function fetchtlementSetInfo(data) {
	return request({
		url: '/settlementChannel/setInfo',
		method: 'POST',
		data: data
	})
}

//结算通道详情
export function getInfoCommon(data) {
	return request({
		url: '/settlementChannel/getInfoCommon',
		method: 'POST',
		data: data
	})
}

// 设置是否默认
export function tlementSetDefaut(data) {
	return request({
		url: '/settlementChannel/setDefault',
		method: 'POST',
		data: data
	})
}

// 修改结算通道状态
export function tlementSetStatus(data) {
	return request({
		url: '/settlementChannel/setStatus',
		method: 'POST',
		data: data
	})
}

// 付款单列表
export function paymentOrderList(data) {
	return request({
		url: '/paymentOrder/getList',
		method: 'POST',
		data: data
	})
}

// 审核付款单
export function paymentOrderAudit(data) {
	return request({
		url: '/paymentOrder/audit',
		method: 'POST',
		data: data
	})
}

// 预审 付款单
export function paymentOrderPreAudit(data) {
	return request({
		url: '/paymentOrder/preAudit',
		method: 'POST',
		data: data
	})
}

// 作废付款单
export function paymentOrderInvalid(data) {
	return request({
		url: '/paymentOrder/invalid',
		method: 'POST',
		data: data
	})
}

//申请支付
export function paymentOrderApply(data) {
	return request({
		url: '/paymentOrder/applyPay',
		method: 'POST',
		data: data
	})
}

//生成付款单
export function addOrder(data) {
	return request({
		url: '/paymentOrder/create',
		method: 'POST',
		data: data
	})
}

//追加付款单
export function addToOrder(data) {
	return request({
		url: '/paymentOrder/add',
		method: 'POST',
		data: data
	})
}



// WEBPACK FOOTER //
// ./src/api/talent.js